Fix for zSessionSecurityEnabled error

Added Kevins fix to check if zSessionSecurityEnabled is set to prevent error.