Clients want to minimize the number of roundtrips used to connect to an IRC server, especially on flaky connections such as mobile phones/hotspots. To this end, some clients (including gamja, goguma) send multiple commands in a single burst without waiting for the server reply.
The following commands are sent in a single burst:
AUTHENTICATE PLAIN
AUTHENTICATE <base64>
CAP END
The spec says:
If the client completes registration (with CAP END, NICK, USER and any other necessary messages) while the SASL authentication is still in progress, the server SHOULD abort it and send a 906 numeric, then register the client without authentication.
Ref inspircd/inspircd#2086