Factored out apache htpasswd creation