In v 0.7.2 it is possible to play with an empty nickname. An issue that existed before and was fixed before.
https://github.com/teeworlds/teeworlds/issues/616
Speculation:
The client appears to still have a nick validity check, but it doesn't appear to run after a nick change. After a client restart however it does, because the nick is then set to 'unnamed tee'