Add token based API authentication support.