Fix user registration.