I am using Share to deploy custom YUI widget. From the browser I am calling a custom repository webscript to access categories and nodes. The browser prompts for authentication. I assume the right way is to pass the login ticket. How do I get the ticket and pass it to my YUI widget from the Share webscript?