creating the base64 encoded AuthConfig