Handles Redis password

If password is set in the config (database.php), before to issue any command it starts the Auth process, otherwise it starts with SELECT as usuale.
Merge pull request #1688 from Pasvaz/patch-2

Handles Redis password