use a more universal url in cache_credentials (but an accessible one)