Improved sessions, and access control list service.

Fixed BasicSessionManager.
Fixed remove method of Session Manager.
Removed even more duplication in the access control list service.