Auto detect redis provider