Fixed some log debug issues.
Updated the identity calls to work with the new http library. GitHub #333
Updated base_identity.py for the new response format.
Updated tests for identity