Fix parseLogin packet