Fixed the way KA exercises get the session key