Fix: bad use of protocol between sessiond and consumerd

The error handling was not correct also for some code path.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>