Adding htpasswd support to nginx

Fixing bug in name