Fix disconnects during LoginEvent when using online mode clients