CARBON-14963: Using Privileged Block API in CarbonContext & UserRegistry to avoid Java Security issues when doing operations on Registry instance obtained via CarbonContext.getRegistry() method