[WFCORE-258] Add services imports for server entry points

Also enable the property `-Dsecurity.manager` to turn on the security manager for tests.