CLOUDSTACK-7809: UI > remove usage of g_mySession which is unnecessary.