Fix error in get badges in progress for user
Fix crash when user tried to go on mooc lesson for the first time (#165900)
Merge branch 'release/candidate' into develop