show more precise error messages on login