Fixes 500 when visiting /grades/select_grade_method/ without being authenticated