gRegorI ran into a kinda similar thing recently with the authenticated ICS tests. I had "require valid-user" set for the .ics file, and had set "ErrorDocument 401" to another file in the same directory. It kept returning 404 and not prompting for Basic authentication.