I created 2 login pages of same domain.
I put the form name different for 2 forms
Nothing worked for me for the password field so I'll share my trick
I believe it is still secure and works on Chrome, Firefox, other