ApplicationDirector and ShopCodeContext thread locals must be cleared at the end of filter execution.