Updated code to not keep the password on logout - fixes #7