Adds a try catch for user logon session creation

This is needed to avoid skipping the local groups user membership management
in case of exceptions that could happen during the user logon session creation