Add support for token based api authentication https://www.loggly.com… …
…/docs/token-based-api-authentication/