Fix bug in tokens

If the token had a long time to live, the time was reduced to 30 min
after first use
Merge branch 'master' of https://github.com/matthis-d/NotificationEngine