SERVER-9517 Implement generic query method on AuthorizationManagerExternalState