Basic token based authentication use for APIs