If token provided by the symfony security component is null an error is raised