Fix redirect-loop in keycloak.js