In the template I have a form, which one part of it has to do with rendering the list of courses:
I simply did the test over "errors" object:
Password is required