ip:<ip>:uid should help as well. It gives you a list of uids using that IP.
To make calls as admin you need to first login as the admin user. You can take a look at how we do it in our tests. Another option is to use https://github.com/NodeBB/nodebb-plugin-write-api