sessions: avoid transferring provisional sessions (#331711)