Then add setSessionLocation to UiSessionContext in that other module, and set the session location at login, so we can assume sessionLocation is always set.

And remove this from here.