Fix password length change on login fail.