[SecurityBundle] fixed tests when used in standalone
Merge branch '2.3' into 2.4

* 2.3:
  [SecurityBundle] fixed tests when used in standalone
fixed some composer.json to make standalone component tests pass