Revert "Fix security issue with dbconfig in production"

This reverts commit 5465d8e4e9910280aea70330915549199262d360.