Modifications to work with new CAS login cookie