Try using the older version of the mi unlock tool. Probably some 2.2 or 2.3 version.
In case it doesn't work, then sign-out from the mi account in phone, then create a new account, sign-in. Don't apply for unlock permission in the Developer...
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service