Prepare to send login packet.