[WFLY-2585] Accessing the current AccessControlContext needs to happen outside of the privileged action - otherwise the AccessControlContext is being replaced.