Fixed reset password bug.