Http error 401 rest api

http://{address}:9090/plugins/restapi/v1/users throws 401 when I open it in browser.

I enabled Rest Api in the settings, I use the correct secret key to log in and I can call create methods and get a single user but not all users, it returns null. Why is this?