Fix netrc tests to actually test the code.
Fix netrc tests to actually test the code.

Remove unnecessary mocks that caused tests to be passing while the code
didn't actually work.

rest-client/rest-client