Fix PID that is logged to utmp on login or logout https://sourceforge.net/p/webadmin/bugs/4479/