getlogin_r-tests: allow errno == ENXIO or ENOENT