Fix Keystone and Log issues

Keystone and log issues prevented barbicanclient from being imported and used in other projects (e.g. Heat). This PR fixes those.