Fix for password reset issue.