Init API authentication