Auto logout results in severe login screen bug
Problem solved
In System Preferences > Energy Saver the timers for display sleep and computer sleep must be greater than the time of auto logout after inactivity in System Preferences > Security & Privacy.