Add function to read database host from redis
Tweak error messages on missing redis variables, update tests