Ensure that the client and server agree on unauthenticated mode.

This means that clients that try to authenticate when the server does
not have an authKey set will fail to handshake.