Issue #213: Adds APIKey and appID assertions