Restore computeEntryCookie() functionality