for cases where /etc isn't writeable, check environment variables
take environment variable for htpasswd file