Write a cached SSO token to disk atomically. Creates the cache directory if it doesn't exist.
Resolved config directory path.
SSO profile (used to derive the cache filename).
Token data to persist.
Write a cached SSO token to disk atomically. Creates the cache directory if it doesn't exist.