Fix the custom cookies feature
Fix the custom cookies feature

As written, it broke non-custom case.

Change-Id: I2a533207f060c3d06ee8fc0826d6a8d7f1ec39c1

stackforge/pyghmi,openstack/pyghmi,openstack/pyghmi