Test and security cleanups

Ran tests locally on Ubuntu 12.04 to construct the config files with the
new `manager` and `ari` options. Cleaned up defined types and examples.