BZ-1168248 - Remote REST api issues deploying on WebSphere after recent changes (cherry picked from commit b11a193039f6e6a36e2c9026d01b151ff4b0961b)
kie-remote-client: fixing api test

(cherry picked from commit eb5fb8ec6dc88bf104cd090689451ab6e1465b2c)