Fix offline_gradecalc

Bug: Throws error when can't find a user on the request object for grading or can't find a session attribute.

Fix: Added a user attribute with a value of the current student and a session attribute with a value of an empty dictionary.