Revert "Added support for private url without username/password."

This reverts commit 1a0f799fa9c1234b513cd6480d34f64856586257.