Fixed bug associated with reseting the password.