Tests for authn query methods