Add support for token auth.