Bug 986227 - truncate token expiry time to integer seconds; r=telliott