Server config refactoring

This is a refactoring of the configuration infrastructure.
It should improve the use of the `AUDIENCE` variable and fix the log level for the logger.