IDEA-78611 Spring: doesn't find beans in some imported configs