Need to do the $subject since we are calling PrivilegedCarbonContext.getCurrentContext from the UI bundle. AFAIK this is a bad practice. We call this method in order to create the scim consumer ids. But seems like we can compile these consumer ids from the back-end since there are separate methods for global and user scim providers. This change will be added to IS 4.6.0 as a 4.2.2 component.