Allow root password to be updated using `arcadedb.server.rootPassword` and `arcadedb.server.rootPasswordPath`
What does this PR do?
When using env variable arcadedb.server.rootPassword you can now update root password on each boot and not just on first boot to prevent stdin "listening"
Motivation
What inspired you to submit this pull request?
Related issues
#2058
Checklist
- [x] I have run the build using
mvn clean packagecommand - [ ] My unit tests cover both failure and success scenarios
Not sure if it's worth merging as there was an alternative solution proposed there : https://github.com/ArcadeData/arcadedb/issues/2058#issuecomment-2718427974
This would allow to overwrite the root password not only for its intended purpose when used inside a container but also on bare metal installs. I am not sure if this may have security implications (?), but none come to mind directly.
I'm a little confused about the Codacy warning, feel free to update the PR to fix the issue