require_once ENGINE_DIR.'/classes/passwd.class.php';
$pw = new PasswdAuth();
$pw->htPasswdPath = 'C:/www/.htpasswd';
//sha1 или crypt_apr1_md5 или crypt
$pw->typeauth = 'sha1';
$pw->addUser('test', 'testpass')
$pw->changePassword('test','newtestpass');
$pw->deleteUser('test');
$pw->checkUser('test');