HTTPCLIENT-1628: Auth cache can fail when domain name contains uppercase characters Contributed by Dennis Ju <dejuknow at gmail.com>