Split localhost config into several files.

Refs #6002