Yes it probably should ;) This hack was mostly a PoC what *would* work with the current base.php - a rewrite would be better but might not be feasible before the next major release? If not, tryBasicAuth() should also call `OC_Util::callRegister();` if the request should be used for anything else than simple GETs.
Should I update this PR for something that can be work, or should we prioritize a rewrite like @icewind1991 described in https://gist.github.com/icewind1991/5685072 for oC 6?