Fix: the loading alert does not get removed if we have to authenticate
merge