title: It is impossible to login to a firebase with Internet Explorer 11
body: <p>I have a simple custom login page, using firebase. Basically there is an admin page where a javascript is checking if current user is authenticated. If not, it will be redirected to a login page, which after authentication will return to the original admin stuff.</p>
  
  <p>this is the script that checks authentication:</p>
  
  <pre><code>       &lt;script type="text/javascript"&gt;
  var ref = new Firebase("firebase.linkishere.com ?&gt;");    
  
  var authData = ref.getAuth();
  if (authData) {
    console.log("User is authenticated!");
    document.getElementById("container").style.display = "block";
  } else {
    var login = "login.php";
    window.location.href = login;
    console.log("I'm not authenticated;")
  }
  </code></pre>
  
  <p>and this is the script on the login page:</p>
  
  <pre><code>$('#signIn').on("click", function (){ 
  var username = $("#username").val();
  var password = $("#password").val();
  
    ref.authWithPassword({
    email    : username,
    password : password
    },
  
    function(error, authData) {
    if (error) {
      switch (error.code) {
        case "INVALID_EMAIL":
          errorMessage.innerHTML = "The specified user account email is invalid."
          console.log("The specified user account email is invalid.");
          break;
        case "INVALID_PASSWORD":
          errorMessage.innerHTML = "The specified user account password is incorrect."
          console.log("The specified user account password is incorrect.");
          break;
        case "INVALID_USER":
          errorMessage.innerHTML = "The specified user account does not exist."
          console.log("The specified user account does not exist.");
          break;
        default:
          errorMessage.innerHTML = "Error logging user in"
          console.log("Error logging user in:", error);
      }
      } else {
    console.log("Authenticated successfully with payload:", authData);
    window.location.href = "index.php";
    remember: "sessionOnly"
    }
    });
  });
  </code></pre>
  
  <p>All this works fine on chrome, firefox, microsoft edge, but for some reason on internet explorer 11, it won't stay authenticated. I enter my details, the firebase accepts it but then it jumps back to the login page, with a console log: I'm not authenticated.</p>
  
  <p>It's like internet explorer won't remember auth state after page refresh, or after it is redirected.</p>
  
  <p>What am I missing?</p>