The web server configuration parameter username, in conjunction with its companion password:
Serve anonymous users, setting the username to "joe":
tiddlywik mywikifolder --listen anon-username=joe
Restrict access to the user "joe" with a password of "secret":
tiddlywik mywikifolder --listen username=joe password=secret