[NEXUS-7336] Step 2: Get rid of security.xml in UTs and ITs

https://issues.sonatype.org/browse/NEXUS-7336