Revert "Change security config order"

This reverts commit 6184a727e57b2dcc708b4e6626658454a0196d7f.
Revert "Add Filter Chain and change security configuration order"

This reverts commit 37db4028cd5a408b2da1ec4fe151d5ed82a4a846.