Database: Rolling cookie authentication

When couchDB tells us to refresh our auth
token, do what it says, to keep our
authenticated session going.