minor #1818 Update SecurityController to not use deprecated classes (xelaris)
minor #1818 Update SecurityController to not use deprecated classes (xelaris)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

Update SecurityController to not use deprecated classes

This PR avoids usage of deprecated `SecurityContextInterface` and `form.csrf_provider` service in the `SecurityController` to enable usage of the controller in SF 2.7 without triggering deprecation warnings.

Commits
-------

36e8ca0 Update SecurityController to not use deprecated classes

XWB/FOSUserBundle,XWB/FOSUserBundle,FriendsOfSymfony/FOSUserBundle