[1.4.x] Users account.php updated to avoid E_WARNING

See https://github.com/zikula/core/pull/1920, same issue but now code for 1.4 adapted