Wait until EIP is up to autologin. Closes #5939.
Merge remote-tracking branch 'refs/remotes/meskio/bug/wait-for-eip-to-autologin' into develop