fix doi lookup to follow 303 chain to the end