Fix of logout error failure.
Fix of logout error failure.

Resolves openbmc/openbmc-test-automation#1274

Change-Id: Id9b101e154978622aec94a555302d9531d919258
Signed-off-by: Sivas SRR <012927925d910b449e3c54b956422d549bbe0ff0@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation