Move session instance creation into service provider.