ensure all OIDC middlewares are named functions