We decided to switch from Basic-Auth to JWT because of the session-ids that were stored in the memory and which leads sometimes to over-mem