Allow configuration of redis connection.