slapos_web: get json schema with basic authentication if credentials are set in URL

In Gitlab,  if URL is like https://USERNAME:PASSWORD@somedomain.com then gitlab will return 401 and ask for basic Authentication.

For this kind of URL, we simply extract username and password and send ajax request with Basic Auth.

/reviewed-on !163
44 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds