Fix password confirmation and login account with inconsistent passwords