title: Keycloak is causing IE to have an infinite loop
body: <p>we are using a <a href="http://blog.keycloak.org/2015/06/keycloak-131final-released.html" rel="noreferrer">keycloak 1.3.1</a> authentication library, and I've noticed that once I initialize the keycloak with <code>{ onLoad: 'login-required' }</code>, IE (11) gets infinite loop...</p>
  
  <p>Other browsers work fine.</p>
  
  <p>I'm basically doing this:</p>
  
  <pre><code>keycloak.init({ onLoad: 'login-required' }).success(function(authenticated) {
      console.info(authenticated ? 'authenticated' : 'not authenticated');
  
      some other stuff...
  
  }).error(function() {
      console.warn('failed to initialize');
  });
  </code></pre>
  
  <p>Any idea what's causing it, and to solve this? Trying to install the newest version 1.4.0 now in hopes the weird bug gets solved.</p>
  
  <p>Thanks in advance.</p>