Add .netrc support for authentication.