RESTful API authentication.