Record token into cache from idtoken after prompt completes

Issue #212 

what if id token is empty?