Coupon API: Don't return current timestamp when expiry_date is not set

Fixes #6546