Update token timeout handling.
1.1.5: JWT token support for quant authorisation.
Improved support for revision handling.