static: don't attempt autologin in RequireHost mode
static: don't attempt autologin in RequireHost mode

If RequireHost=true is specified in cockpit.conf, then don't attempt to
autologin from login.js.  This prevents needlessly hitting /login and
spawning cockpit-session, and in turn, allows running cockpit-ws in
environments where cockpit-session isn't installed.

cockpit-project/cockpit,mvollmer/cockpit,mvollmer/cockpit,cockpit-project/cockpit,martinpitt/cockpit,cockpit-project/cockpit,mvollmer/cockpit,martinpitt/cockpit,mvollmer/cockpit,martinpitt/cockpit,cockpit-project/cockpit,martinpitt/cockpit,cockpit-project/cockpit,mvollmer/cockpit,martinpitt/cockpit