Does your code after to strictly follow the API (which is outdated)?  The tenant id deprecated to be replaced by project id.  If your code could do that mapping, it might save for future compatibility.  Also, any new user looking at Horizon isn't going to be able to find their tenant as it has already switched to project.