Updates to auth in preparation for CAS integration.