Test generate token request

Integration test now retrieve authorization code.
Then trigger browser to make token request.
Improve logging in token endpoint handler
Allow GET request in token endpoint

Easier to test with.