Rework to avoid the separate spring-boot-auditing module by moving the code to the spring-security-core module