Fixed CAS authentication components such that the application redirects to CAS and upon return is username-aware. Logout functionality also works.