Implement authentication via Data API.