Add missing auth middleware for 1.7 tests