Implement token-based authentication API foundations