Fix CAS auth in dev environment