Add authentication method.