BZ-1144336 - NPE when a web service is called from a process started via REST StartProcessCommand and running on WebSphere

(cherry picked from commit cf318eea235a8d540785ea99e5711d9412f2d3f1)