I turned on logging and there is still absolutely nothing in the logs. Also,
I recompiled (portage emerge) courier-authlib and then courier-imap and I
still get the same error. Imapd is configured almost identically and it has
# telnet localhost 110
Connected to localhost.
Escape character is '^]'.
-ERR pop3login requires exactly two arguments.
Connection closed by foreign host.