Recalculate_subsection_grade_v3 is submitted with the wrong user_id

@Asad_Ali have reproduced the issue locally and by following those steps I was also able to reproduce it. Here are the steps:

  1. Create 2 courses with simple problem and 2 learners. Enroll 1 learner to 1 course and another learner to different course
  2. To be sure that we are submitting problems at the same time, add a breakpoint after the instance creation in block_render.py
  3. Now open 2 browsers/windows and login with the learners.
  4. Open the courses and problems.
  5. Attach with the LMS container to bypass the breakpoints when we submit the answers, e.g; tutor dev start lms
  6. Submit the answers with both the users and bypass the breakpoint by entering c twice
  7. Thats it, you will have 1 learner scored correctly in his enrolled course and the same learner will be scored in the other course as well. And its always the 2nd request’s user.

Additional Information:
I am able to reproduce this issue in release/teak as well by following the same steps.

@dave