Catch refresh token NPE

When switching client secret files the generated client library poorly
spits out an NPE.

Now we catch that exception and give a nicer error message.