use a more universal url in cache_credentials