Moved the `clearAuthorizationHeader` call

This allows authorization to be set, and used, outside the call to
`authenticateUsingOAuthWithPath...`