Does 'Verify Links Accessible' work for sites using .htaccess

I have a test server that is blocked from public access by using an .htaccess file to control access. I’ve found that I’m unable to use the Verify Links Accessible keyword for this site. Even putting the credentials in the link that I’m verifying doesn’t work. Is there a way to verify links are accessible on a site such as this?