Move "redis" and "secrets" out of config file.

I think we should NOT merge this until we have 0.4 out, but I'm creating the pull request anyway.