Introduce a client-side version of resolveAuthConfig Upstream-commit: 7e236e623b234616ca8536a0d2e3f96103aa061b Component: engine