redis-cli: Re-attach selected DB after auth

Fixes previous incorrect behavior:
```haskell
redis-cli -n 9
AUTH
[operations act on DB 0 because SELECT didn't get re-run]
```

Also fixes error where selecting an invalid DB (`-1`, `9999999`) showed up in the CLI (#1313)

Fixes antirez#1639 and #1313