Use SSL for api authentication