Fixes fake logout when changing password. Fixes #10