re-enable test in SecurityMiddlewareTest