My real question was about line 35 :  `$preAuthProviderId = 'security.authentication.provider.pre_authenticated';`
Are you sure that this var is never `null` ?