Use after free correction
Tools: authentication management correction
Docker tools improvements
Added docker files to build a PostgreSQL test image