TESTS: Use Pretender in test mode for more flexible server responses
Revert "FIX: google oauth2 for sites using https. Need to specify the redirect_uri during setup in this case."

This reverts commit fe6235b40ed18909742eee2c3ae7a5f4fefaa010.
Return a CSRF in case it's requested