Fix intending, spin on connecting and loggging in. Increases startup stability