One of two approaches:
1) present dialog to enter credentials if required by the requested page
2) allow entering credentials ahead of time in some form fields
#2 has the advantage that we can persist the credentials, but has the
disadvantage that they may introduce a security risk (storing credentials in
plain text).