[fix bug 962712] Fix missing invitee name.

As suggested by Giorgos, the `update_invites` method has been updated along with the `invite_accepted` template. Because of the changes, the tests within `test_view_registers` has also been updated accordingly.