added check that netrc auth does not return a None opener