Change CourseInstanceSummaryResource to user user_profile instead of user

CourseInstanceSummaryResource now uses user_profile.id. Fixes problems in production when user.id != user_profile.id