fixes basic auth support
master as most recent stable version