Magic.

I actually use the refresh token now! The code is in the wrong file,
though. Meh.