Added API authentication.