Fixed some of the 06 auth code

The 06 auth code was still relying on the assumption
that users only ever had one ticket. I fixed the code to
work with the new auth system