Changed the way htpasswd is generated