Refactor AuthPacket.cs.