Fixed the password error handling errors.