add SSO support, thanks James Potter
fixes for py26, py34 tests
Merge pull request #2 from tindie/f/sso

add SSO support, thanks James Potter