Fixed the packet de/encoding by adding Little Endian ByteOrder and updating the order of authentication packets.