Revert "Add symfony/security to dev requirements"

This reverts commit 6d709fc8311cd54b1b4d78138b622a56cbcd9ef9.
Revert "Added check for security_context in ContainerEventBus"

This reverts commit 1a699380f2bdcc704f0139a166798221be7197ff.