database.js: Allow logout

I've no idea why, but this seems to actually log out the person who clicks on
the button even with CORS issues (client and server on different hosts).
However in such a case the user is not properly redirected: indeed this does
not solve the CORS issue so the logout process doesn't complete.

Fix #2477
29 jobs for feature-sc/2477-basic-fix-logout in 52 minutes and 52 seconds (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Test Tools
passed #1082057
test_tools

00:00:12

 
  Test Quality
failed #1082058
allowed to fail
code_quality

00:00:05

passed #1082059
web
code_quality_custom

00:00:13

 
  Test Unit
passed #1082060
web
test_browser_unit

00:01:00

passed #1082061
web
test_server_unit

00:00:20

 
  Deploy Review
passed #1082062
web
deploy_review

00:00:26

passed #1082310
deploy_review_server

00:02:27

passed #1082064
web manual
stop_deploy_review

00:00:08

passed #1082065
manual
stop_deploy_review_server

00:00:59

failed #1082063
deploy_review_server

00:02:57

 
  Test Functional
passed #1082068
web
chrome-browser-functional

00:06:46

passed #1082657
web
ff32-browser-functional

00:08:45

passed #1082070
x86_64 docker
ff32-server-functional

00:07:18

passed #1082067
web
ff45-browser-functional

00:07:55

passed #1083199
docker x86_64
ff45-server-functional

00:07:17

passed #1082658
legacy
old-chrome-browser-functional

00:07:01

failed #1082066
web
ff32-browser-functional

00:07:43

failed #1082071
x86_64 docker
ff45-server-functional

00:07:39

passed #1082880
docker x86_64
ff45-server-functional

00:07:33

failed #1083119
x86_64 docker
ff45-server-functional

00:07:45

failed #1082069
legacy
old-chrome-browser-functional

00:07:47

 
  Test Tutorial
passed #1082074
web-pandoc
chrome-browser-tutorial

00:04:30

passed #1082072
web-pandoc
ff32-browser-tutorial

00:09:13

passed #1082073
web-pandoc
ff45-browser-tutorial

00:05:59

passed #1082075
legacy
old-chrome-browser-tutorial

00:03:17

 
  Test Functional External
passed #1082078
web
chrome-browser-functional-external

00:02:21

passed #1082076
web
ff32-browser-functional-external

00:03:07

passed #1082077
web
ff45-browser-functional-external

00:02:28

passed #1082079
legacy
old-chrome-browser-functional-external-chrome

00:02:03

 
Name Stage Failure
failed
code_quality Test Quality
$ function propagate_env_vars() { # collapsed multi-line command
$ docker pull --quiet "$CODE_QUALITY_IMAGE"
unknown flag: --quiet
See 'docker pull --help'.
Uploading artifacts...
Runtime platform arch=386 os=linux pid=14877 revision=58272c27 version=12.7.0
WARNING: gl-code-quality-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1