Use "if" instead of only_if, since it's not working with htpasswd resource