add support for WMS URIs with user:pass
add support for WMS URIs with user:pass

For cross-domain, this sends a preflight request which the server has to
answer without requiring authorization.
ec-melodies/demo-portal,ec-melodies/demo-portal