I'd also think that authentication was (should be) a server-side thing: and that at that point you'd get some form of session/token/ticket.
This post shows how to steal that session/token/ticket after the authentication step.
What are you proposing?