[SSO] Fix incorrect handling of boolean values
[SSO] Add an example of how to authorize an app with Google using OAuth2
Merge pull request #388 from kanavin/master

Added a SSO OAuth example, and fix for a bug in SSO extension discovered on the way.