don't try to load resources for the profile tray in new ui
don't try to load resources for the profile tray in new ui

test plan:
* visit a course using the new nui
* click on the "Account" tab on the navigation bar
* click on any link there (e.g. "Profile")
* click "Back" on the browser
* it should not load json

closes #CNVS-24000

Change-Id: Ia9825ccc383f804258302e861738b3a77c344f6c
Reviewed-on: https://gerrit.instructure.com/65245
Reviewed-by: Clay Diffrient <9dff2e5c98626d20d2848250c411e8009465bb87@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Stanley <b3f594e10a9edcf5413cf1190121d45078c62290@instructure.com>
Product-Review: James Williams  <3a5f4ed991dbfa5c9ef76ad729d240ca12f62180@instructure.com>

redconfetti/canvas-lms,leftplusrightllc/canvas-lms,SwinburneOnline/canvas-lms,grahamb/canvas-lms,roxolan/canvas-lms,leftplusrightllc/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,djbender/canvas-lms,redconfetti/canvas-lms,leftplusrightllc/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,SwinburneOnline/canvas-lms,HotChalk/canvas-lms,SwinburneOnline/canvas-lms,djbender/canvas-lms,HotChalk/canvas-lms,venturehive/canvas-lms,HotChalk/canvas-lms,leftplusrightllc/canvas-lms,grahamb/canvas-lms,roxolan/canvas-lms,venturehive/canvas-lms,djbender/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,venturehive/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,redconfetti/canvas-lms,djbender/canvas-lms,fronteerio/canvas-lms,fronteerio/canvas-lms,SwinburneOnline/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,fronteerio/canvas-lms,sfu/canvas-lms,redconfetti/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms