Refactor integration tests

Ongoing work to make basic OAuth2 request flows more reusable in
different scenarios.

Add a reusable "authzRequest" function which will do login and approval
if required and just return the response data. Can be used for all the
different OpenID response type cases.
Better exception logging in Scotty

Dump relevant data (message, request body etc).