Fixed password-reset process