Node.js Apache htpasswd password generator/validator