Support for authentication in redis connection

I need to authenticate to a remote redis service, it would be useful if this rather simple change could be merged.