The full solution is
1 Disable the CHECK_CUSTOMERS_INTEGRITY in the config.php file
2 Change a one symbol for the lastname on the page like
http://demo.x-cart.com/demo/admin/register.php?mode=update
and click the 'Update' button.
3 Enable the CHECK_CUSTOMERS_INTEGRITY in the config.php file