[JENKINS-20128] reproduced the problem
[FIXED JENKINS-20128]

CLI hits "/cli", so the server needs to respond to this endpoint.