Add better support for Google Apps

from https://github.com/openid/python-openid/pull/39/files
Fix spurious error message for Google SSO

details: https://github.com/openid/python-openid/issues/23
Resolving a DeprecationError.
Merging bugfixes from sdiemer.
Set version number to 2.3.1