Update htpasswd module for various API incompatibilities