Refactor identity

Refactored the way docu sign auth works to be much more fluent with the
way the other apis use the authenticate result.