Added logic to enable setting cookies in deliver before sending user to CAS if cas is enabled.
Improved methods for adding many users to groups or fetching all users
Fixed bug in non transaction part