Fix compile warning due to missing newline at EOF.
Fix crashing autotest due to wrong initialization of the usermanager.
Remove usage of strcat, since OpenBSD does not like that.