truncate redirect uri query only if response token set