CS-4491: Fix smarty login_form block

Fix login/logout action.