Here's an awesome extensible MUD server for Python:
https://github.com/Frimkron/mud-piYou don't have to use it to make MUDs, of course. It appears that you could use it to
easily make text-based, interactive websites with user accounts and stuff (but yeah, telnet's not secure; so, you probably don't want to do that if the information is sensitive).