Heavy refactor and reworking of SessionManager and AbstractSessionProvider responsibilities