Access principal in success view

This fixes #669 
what do these changes have to do with the issue?  Is it because you created that getTicketGrantingTicket method?