Fixed very very very unlikely infinite recursion loop in token generation
Merge pull request #440 from ExchangeCore/fixed-unlikely-infinite-loop

Unlikely infinite recusion fix in authenticiation