Checking OAuth in registration.