CLOUDIFY-1535 fixed a problem where client creation after session expiration was not done properly.