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

https://bugzilla.mozilla.org/show_bug.cgi?id=877258