Applies authorization header to a request before it is sent, when shouldPresentCredentialsBeforeChallenge is set to YES.
[request applyAuthorizationHeader];