Fix sso.php script so it works with a.* subdomains again.
Fix detection of network login (in client module).
Allow client module to use an OpenID Connect client other than 'generic'.