By default, Artifactory allows anonymous access to npm repositories. This is defined in the Admin module under Security | General. For details, please refer to Allow Anonymous Access.
If you want to trace how users interact with your repositories, disable the Allow Anonymous Access setting. This means that users must enter their username and password as described in Setting Your Credentials above.