Password reset fix

I guess I'll keep this here for now.