Fix the logic for Redis password update.