Middleware to add basic auth, or block, specific host paths and requester IPs.