Allow Redis connection to be configurable.