Fixed minor issue with password reset