netapi: Fix Bug #5545 (libnetapi_init without $USER)