I thought there was some sort of "token" that was placed in the header of a request to show the user was authenticated but I don't see a variable for this that I can use in my script.
I've been googling for a solution to this but I must not be using the correct terminology.