Wait until EIP is up to autologin. Closes #5939.

An iteration on top of: #710

It doesn't make sense to me right away, but if it does make sense, it certainly needs a comment explaining what's expected from this.