Fix: terminate not working

Terminate did not work after login for users without password.