CFY-648 fix workflows client to work in prod mode + integration tests