Fix error when a non-logged in user tries to access the list of courses he is involved in.
Give a 404 when we cannot find the folder in the first place.