I looked in a few other Zen cart installs I have, all 1.3.7, and did not find that same bit of code in any of them. They all had:

zen_redirect(zen_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));

I replaced it all with the code above and it''s working just fine. I'm not really sure where that other code came from.