If you have a remote repo with credentials to another Artifactory instance and the password field is blank, the log will show an invalid login from user 'NA' which makes it hard to debug the issues from the log.
Steps to reproduce:
- Create remote repo
- Add username but leave password blank
- Click test
It is possible to get into this state even though the UI tries to block it. Suggest we have better logging to help track it down, such as what repo it came from, which user tried to log in, etc...
This is also applicable for scenario if any user tries to login from UI and access logs still shows NA. Ideally we should at least capture the user who try to login as part of access log