Fix error reporting on passwords