[gmail/auth] Only set the refresh_token if we get one.

Summary: We had an issue where a re-auth'd account would clear out an existing refresh token.

Test Plan: Read the code.

Reviewers: emfree

Reviewed By: emfree

Differential Revision: https://review.inboxapp.com/D323

Conflicts:
	inbox/auth/gmail.py
[proivder_resolution] Fix provider resolution code and add tests.

Summary:
Provider resolution logic was broken, fix it, add tests, fix providers.py which had some errors in it (found in testing). Yay testing.
Fixes T297

Test Plan: Run unit tests that now test provider resolution.

Reviewers: emfree

Reviewed By: emfree

Maniphest Tasks: T297

Differential Revision: https://review.inboxapp.com/D331

Conflicts:
	inbox/providers.py