user lost when data been updated from outside admin site

the reversion log's user was lost, my test code is here at https://github.com/TommyU/test_reversion/