Fix security fosuserbundle 23

Apparently this is needed. When I update the sandbox to the latest version I get an error about this. This change is already in the master branch.