One thing is to have the firmware with root enabled. Another is to have the root manager app, such as supersu to authorize apps to gain root access.
Regarding the Mi authentication, I mean that it seems that Mi servers for authentication are listed in the adaway host lists, so you can't connect to them. At least I had this issue while I had adaway on. I did not figure out which where the specific domains to whitelist.
Sent from my MI 5 using Tapatalk