fix failing rest api integration tests
Fix restclient - request.setHeaders overwrites existing headers, causing sso cookie to disappear