When loading the workspace the clientId, secret, tokens and URLs are not restored from json.
Sometimes it works, sometimes it doesn't. I have not figured out why. I had a custom config with clientId/secret (client auth) + tokens and it didn't work.
I think it's when
refreshToken is not provided.