properly wire auth middleware to rest of facilities