Fixed login form error reporting