Unify REDIS_DB settings

Bunch of small tweaks to how we organize our configs so that REDIS_DB is only defined in one place and correctly set to 10 for testing.

plz review @ericnewcomer