Fixed password reset issue