Changed reference to LastAuthTime instead of LastCommand, in closedown