Fixed anonymous login bug

Check for availability of query string when checking for OIDC
authentication