I get the same behavior for both being logged in in a browser and logged out. But I didn’t use this browser for the tests.
I use this for the login as documented here: REST - Request Tracker Wiki > wget --keep-session-cookies --save-cookies cookies.txt --post-data 'user=[user]&pass=[pw]' http://localhost:8085/REST/1.0/
And I get back the index.html, which is not the login form, but the page for already being logged in and it lists the tickets!
With a basic get request like > wget --keep-session-cookies --save-cookies cookies.txt http://localhost:8085/REST/1.0/ticket/1/show
I get again the index page like above (as I am logged in), not the ticket itself
If I am not authenticated i.e. I don’t have cookies, I get the expected response: > wget http://localhost:8085/REST/1.0/ticket/1/show gives RT/4.4.2 401 Credentials required
I’ve just used the wget commands and its produced the expected output on our 4.4.2 instance of RT. Authenticated using “user” and “pass” as you have.