After a conversation with CC
on IRC, it has been determined that on line 339 of lib/TWiki/Users.pm, the regex nees to be terminated with s*$ instead of $.
This affects (at least) users migrating from old
TWiki installations, as the TWikiUsers
topic is not parsed correctly, preventing logins (as well as other issues).
SVN 7291 CC