Handle the case of user denying openid scope; fix PHP strict mode errors

51def84 fixes a warning in PHP strict mode about calling reset() with the return value of a function (instead of an array).

c51a8c3 handles the case of the user clicking 'Authorize' at the OIDC server, but denying the openid scope.