do not set htpasswd if realm does not exist