log refusal to serve hidden directories

This PR  originally addressed #5157, and was titled "serve hidden directories when explicitly requested". 

Now it simply logs the refusal to serve hidden directories, but continues to serve 404 to the user as before.