JOAuth2ClientTest::testQuery

Tests the auth method