Enhancements to .htaccess and .htpasswd checks