Basic auth middleware for node and connect