Added support for automatic application grants with OAuth 2. This assumes that terms and conditions include authorization for data collection and that they have been read and agreed to.