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

fixed