This method will set the Authorization request header
for the client session using the credentials provided by the caller.
This method will always override any custom Authorization
header value that may have been previously set using the
SetRequestHeader method.
If both the lpszUserName and lpszPassword
parameters are NULL pointers or specify zero-length strings, the
current authentication type will always be set to HTTP_AUTH_NONE
regardless of the value of the nAuthType parameter. This
effectively clears the current user credentials for the client session.
If the web service requires OAuth 2.0 authentication, it is
recommended you use the SetBearerToken method
to specify the access token.