Fixed bug with updating user's password.