integration refactoring

If we use TokenRepository in a singleton class, then we will have date issues. (only creation date will be used), so I think that we have to use Provider<Date> here. 

If we keep it that way, we have to let the the collaborators of this class to think how to use it, which smells.