BZ-1012882 - Deploy of springapp war causes continuous auth problems (error 401 - validation fails) in business central
(cherry picked from commit e1d3fdd4af3b25f68c46ec06af1cc90b244feade)