Fix #389 incorrect error message on initial display of login form (2)