support http basic auth

This patch allows to use this gem on Heroku, where server url also contains user password and login.