[common] add separate method for getting netrc ligin info