Fix the `expires_in` value that was wrong

because timedelta.seconds does take into account the days attribute of
timedelta.
Merge branch 'fix-expires-in'