Fixed exception: The option "csrf_protection" does not exist

This is a port of
https://github.com/sonata-project/SonataDoctrineORMAdminBundle/commit/8db870931fca7b6aa5f6d335db3399595c40330f and https://github.com/sonata-project/SonataDoctrineMongoDBAdminBundle/pull/89