Add a new middleware as replacement for Illuminate\Cookie\Guard.