Add mock login/logout.