support auth and noauth for redis