AGPUSH-862: workaround for window.location.origin missing on IE (until keycloak.js is fixed)