session: fix bug in login with unassigned msg variable
Revert "session: fixed bug with unbound msg variable when form is not valid"

This reverts commit 507cc04d2e73ad3f02f1ce4371920f560932e75c.

Revert useless commit 507cc0
testing: fixed bug ZeroDivisionError in rnd questions marking procedure