Make basic api authentication