update cal, add check for auth

check for auth uses the CAS “gateway” feature, the calendar now uses
phpCAS instead of mod_auth_as