UA Dashboard authentication

I’m trying to get UA Dashboard up with authentication.

I used the sample script on the docs, and it seems that UD always connects with the system token even when I set $Session:AppToken to different users token.

What is the correct way that every UD user should use its own unique UA Identity?

Do you have UD version 2.8.3 installed? I know there were some issues with previous versions not setting the $Session variables correctly when using authorization policies.

Yes, i am using 2.8.3
im using the sample script on the docs site