Addressed #180 by calling free

Addressed #180 by calling free on allocated memory
Added adal cache keychain sharing

Added adal cache keychain sharing