Fixed bug where password wouldn't update after an unsuccessful login
attempt on a valid user account.