Fix Bug 877258 - Middleware checks all users listed as authorized users