Properly configure the http client in the presence of user credentials.