Get or generate a new session instance using generator with type T (or name if specified)
if no session provider registered for type T (or name if specified)