introduce base AGBaseAuthConfig protocol, common to Auth and OAuth