Added htpasswd support