Fix dependency on form.csrf_provider

When CSRF protection is disabled in the main Symfony framework configuration, an exception will be thrown in Security:login because the form.csrf_provider service is not available. This patch fixes that.