Fix refreshing id token

Fixes #213