updateCredentials
If no other task is currently fetching credentials, calls fetchCredentials again and caches the result internally.
This is used by the sync client if a token is about to expire: By fetching a new token early, we can avoid interruptions in the sync process.