Refresh token bugfix