BUG Database config values aren't escaped

Causes minor UI issues if you try use database configuration values that happen to have " or other values in them.