DJB-style checkpassword for Dovecot auth socket
