This handles loading errors when opening the course unit page via direct link as an unauthorized user.