Newman pre-request script

I am trying out ‘newman’ on my collection and it seems that I am getting a 401 (Unauthorized) response back. So I have two questions. The first is isn’t 401 considered an error? The summary in the end shows no tests failed? The second question is regarding the pre-request scripts. When I run the API tests from the Postman app the pre-request script are run and I don’t get the 401 responses. So my question is how do I get newman to act more like the Postman app?