Do not treat null expiry as 0 sec for backward compatibility.