Got an error where lms/djangoapps/courseware/masquerade.py wanted a user, making a user attribute with the value student fixed it.