TISTUD-5295 Add diagnostic tests for troubleshooting npm configuration issues