encode params in token req url (fixes invalid token err)