fixing a bug where the ticket was sent to the sso authority and breaking CAS authentication