Using Basic Authentication with API Endpoints