I.haveSettings not robust enough if more then one MW node involved
The current implementation tries to synchronize the JSESSIONID cookie between browser and axios library doing the actual call to the JSLob API. This sometimes works, but for whatever reason the session can get lost and the setting is not available in the browser immediately. To make sure, it is propagated to all MW nodes, a timeout of 30s would be needed. This is very unpractical.
Another idea would be to send the request from the actual browser. It would be a little more complicated to implement, depending on the current state of the browser (logged in, no browser available yet, …) but once the session is available, the cookie should not get lost any longer.