[WFLY-4172] Enable the -secmgr parameter for tests if the security.manager property is defined

Enables tests to be run under the security manager if `-Dsecurity.manager` is passed as a system property.