Don't reset errors if form.submitted is true

If a user is bashing the login button without actually doing something
productive, like changing a part of the form, we don't want to do a
flash of unstyled content...