This patch adds a new package which implements two basic primitives for authenticating against dovecot ("user exists", and "check password"). It is still experimental/work in progress.