Move init session to session manager subscriber
Fix tests