Fix a bug related to Redis auth.