I use courier-imap-3.0.7 with qmail. The trick was to use SHA for the passwords and in my startup script i did this:
LIBAUTHMODULES="/var/qmail/bin/auth_imap" and commented out the authdaemon. I've not followed the complete thread, so I'm not sure this will help.