How to authenticate with Config API?