I'd like to have a single app in WAB that contains both secured and unsecured services all from our ArcGIS Server that has integrated AD authentication. In my first attempt, WAB just popped up a log in as soon as the app was loaded. I would like to have all of these services together in the same app but only ask/attempt to log in if one of the secured services is turned on in the layer list. Any ideas how I can accomplish this either with built-in functionality or some custom code after downloading the app?