Proper login and logout endpoints for cas