If Processwire keeps logging you out it may be because your IP address keeps changing. For enhanced security, Processwire uses session fingerprinting by default which means if your IP adderss changes it will log you out.
In most cases it is safe enough to disable this since the standard authentication is sufficent.
To disable it add this line to your
$config->sessionFingerprint = false;