Bug fixes, change org to ease installation

Fixed condition where an sso authentication could go nowhere and an
erroneous error message (“User False does not exist” ) when SSO_DOMAINS
didn’t exist in settings.