Finalized support for OAuth2
Added test server to test client-side in scripts/