I created 2 login pages of same domain.
I put the form name different for 2 forms
Try this :
Type must be the same. The hidden password will be fill instead of real password input.
If it's a new password (or reseted) use autocomplete="new-password" instead of autocomplete="off".
Hope it helps.