Fixed httpclient credentials caching