core-tests: fix missing bean in tests
Had to add spring security test dependency as well as WithMockUser annotation (for rest controllers --> performing requests with given user) and MockedBeand for client registration. It is not the optimal solution, but honestly the only one I was able to produce. The main problem is the securityFilterChain in App class besides main(). Because the App class is executed during each test.