Fixed poor security with password reset issue