Test Auto logout when username changes