Fix for zSessionSecurityEnabled error

Added Kevins fix to check if zSessionSecurityEnabled is set to prevent error.
Merge pull request #33 from TGates71/patch-3

Fix for zSessionSecurityEnabled error