Fixed reset password to work with login instead of email or username fields