Refactoring away the screen that shows you the authorization code before making the token request