Move authentication to StaticAuthenticator