Fix local instances of web UI.

There are some default values from UCI that we needed to include, and there were a couple of miscellaneous other errors I noticed.