OAuth flow done, and more setup bits