Support loading secret key from filesystem and fixed default logger initialisation