JOAuth2ClientTest::testAuthJson

Tests the auth method with JSON data