Implement support for HTTP Basic Authentication

Steal username and password prompt dialog from Sailfish Browser.