CAS server precedence is not respected