1. Fixes #0000317: Ability to customize error messages in u_TestCodeIsValid tag
2. This tag was already changed (for user email activation support) since patch was created, so I've ported code to work like expected and not to broke existing functionality.INP-266