Merged in changes to KcAuthorizationBase and KcTransDocActionBase