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
Status Job ID Name Coverage
  External
passed SlapOS.Eggs.UnitTest-Master.Python2

00:14:59

failed SlapOS.Eggs.UnitTest-Master.Python3

00:21:42

passed SlapOS.Eggs.UnitTest-luke.Python2

00:30:25

passed SlapOS.Eggs.UnitTest-luke.Python3

01:01:48

passed SlapOS.Eggs.UnitTest-Master.Python2

00:13:26

failed SlapOS.Eggs.UnitTest-Master.Python2

00:17:22

passed SlapOS.Eggs.UnitTest-Master.Python2

00:18:18

passed SlapOS.Eggs.UnitTest-Master.Python2

00:27:32

passed SlapOS.Eggs.UnitTest-Master.Python2

00:14:10

passed SlapOS.Eggs.UnitTest-Master.Python2

00:24:14

failed SlapOS.Eggs.UnitTest-Master.Python2

00:13:20

failed SlapOS.Eggs.UnitTest-Master.Python2

00:17:40

passed SlapOS.Eggs.UnitTest-Master.Python2

00:14:56

failed SlapOS.Eggs.UnitTest-Master.Python2

00:14:24

passed SlapOS.Eggs.UnitTest-Master.Python2

00:39:12

passed SlapOS.Eggs.UnitTest-Master.Python2

00:16:44

passed SlapOS.Eggs.UnitTest-Master.Python2

00:15:49

passed SlapOS.Eggs.UnitTest-Master.Python2

00:15:15

passed SlapOS.Eggs.UnitTest-Master.Python2

00:17:10

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:46

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:34

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:30

passed SlapOS.Eggs.UnitTest-Master.Python3

00:25:39

failed SlapOS.Eggs.UnitTest-Master.Python3

00:23:26

failed SlapOS.Eggs.UnitTest-Master.Python3

00:25:00

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:32

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:57

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:53

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:53

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:43

passed SlapOS.Eggs.UnitTest-Master.Python3

00:36:23

failed SlapOS.Eggs.UnitTest-Master.Python3

00:16:27

failed SlapOS.Eggs.UnitTest-Master.Python3

00:15:21

failed SlapOS.Eggs.UnitTest-Master.Python3

00:28:28

failed SlapOS.Eggs.UnitTest-luke.Python2

00:49:14

failed SlapOS.Eggs.UnitTest-luke.Python2

00:34:52

passed SlapOS.Eggs.UnitTest-luke.Python2

00:53:40

failed SlapOS.Eggs.UnitTest-luke.Python2

01:01:07

failed SlapOS.Eggs.UnitTest-luke.Python3

01:18:47

failed SlapOS.Eggs.UnitTest-luke.Python3

failed SlapOS.Eggs.UnitTest-luke.Python3

00:46:23

failed SlapOS.Eggs.UnitTest-luke.Python3

failed SlapOS.Eggs.UnitTest-luke.Python3

failed SlapOS.Eggs.UnitTest-luke.Python3

00:28:58