This simple test case crashes the server:
It crashes inside kill_threads_for_user(), in this code:
tmp->security_ctx->host is NULL for the slave IO thread, so we get a NULL
pointer reference inside strcmp().
I'm not sure if the bug here is that the host field is NULL in the replication
thread, or if the bug is that the code in kill_threads_for_user() should check