get the basic auth ball rolling for non-proxy requests.
Fixed some issues with remote geoservers.
Set layer to read only if the wfs request fails.
Re-prompt for basic auth credentials when switching users.