Cleanup in spring security config