Add a credential cache to speedup authentication requests.