Somehow ending up with a different session object.
Added code to ensure the same object is pulled in.