Changed default values on legal instrument content type
[#46283725] Added tests and fixed security issues for cms_party content type