fix issue where refresh token was not merging params properly