Add crypt scheme to htpasswd params

We're using htpasswd to generate a password file for VSFTPD which does not support md5 encryption.

So I've added a param to choose the encryption scheme to use.

This patch is backward compatible and fairly straightforward.