Add Google OAuth2 support

Stole this from the kipp guys (they have a fork here), but it contained a bunch of unwelcome changes, so I ripped out the Google OAuth2 part and put it in my fork here.