tests: In test-encode-decode-benchmark, don't use deprecated setFreshnessSeconds.