The login page only works if you're in an authn session (started by session.login) so the OIDC library already has the relevant metadata. Potentially we can also set the correct cookie outside of that but would have to investigate if this is possible and valid OIDC.