BUG-5280: introduce cookie in LocalHistoryIdentifier