fix LoginTests error; add LoginTaskActivity action when Login complete