Creates a UserSession via a function so that the global arcgisSolution variable can access authentication.
See https://esri.github.io/arcgis-rest-js/api/auth/IUserSessionOptions/
UserSession
Creates a UserSession via a function so that the global arcgisSolution variable can access authentication.