Set cookie with refresh token.

Set the cookie with the refresh token.
Verify the cookie in integration test.
Refactor test to use promises. Much easier to make multiple assertions
and be certain they all run before test passes.