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

An iteration on top of: #710

This comment shouldn't pass pep8, it should be:

```python
# Needed in case of EIP starting and login deferred never set
```