fix issue with session key not being implicitly created because of chang...

...es made from git commit 864facf5ccc0879dde7e608a3bea3f4bee1d3a57