Fix password reset issues