Fixed cookie based login for installations without mcrypt

bug #4469

Signed-off-by: Michal Čihař <michal@cihar.com>
Translated using Weblate (Interlingua)

Currently translated at 54.5% (1512 of 2770)
Merge remote-tracking branch 'origin/QA_4_2' into QA_4_2
Fix comments

Signed-off-by: Michal Čihař <michal@cihar.com>
Merge remote-tracking branch 'origin/QA_4_2'