Add Authentication Support

Added authentication support in case one cannot use ~/.netrc