Added changes to fix Google connection

Taken from:

https://github.com/mattupstate/flask-social/pull/57