Finish authorization/authentication.