You can upgrade from this add-on
https://xenforo.com/community/resources/login-as-user.2493/. When updating a resource, all necessary and old add-on data is transferred to your forum.
This add-on gives privileged users the ability to login as any other user on the forum (as long as they’re not whitelisted).
Key Features:
Permission controlled – choose who can login as another user…