Add working RenameUser hook

Looks like the old one was written a long time ago before being commented
out, and so I've updated it for the changes in RenameUser.

Bug: 25863

Change-Id: I4fd590bc351d9da86847b3a25cee8f3eaf3e97f6