Revert "Split security.php for different env."

This reverts commit b77afeaa9d22a1f24c4c34e41382aaf408014283.