Fix logout for both Nomad and Mango to be based on the server version
Fix logout for both Nomad and Mango to be based on the server version

This will allow sidecar's api to track the server version and make api
calls based on the server version.

rhoggSugarcrm/ventana,yvan33/ventana,sugarcrm/ventana,alias-mac/ventana