Entitlements
You might to enable this default to use private entitlements
sudo defaults write /Library/Preferences/com.apple.security.coderequirements Entitlements -string always
Maybe a better thing to do is to DYLD_PRELOAD imagent and swizzle IMDAuditTokenTaskHasEntitlement to always return YES.