added htpasswd auth option