Fix cookie path filtering