Strip off CAS ticket before redirecting

Some CAS servers don't ignore the 'ticket' parameter in the query string
when performing validation.