I agree ... which game are you referring to?
The only one which makes sense to me is:
"Black left the game, White is victorious."
You're saying there's 50 seconds left on the clock. That shows you have 1:08 on the clock. That's approximately 18-seconds difference, and, if your Internet connection was broken, the local clock was counting down, but, your move wasn't reaching the server, etc. (It happens, not a big deal.) And that was a 3+2 game.
If that's the game you're referring to, then, the "server" did not "resign you" -- the other player was probably prompted with "Claim Victory" or "Call Draw" (and, not knowing of your Internet connection problems, probably claimed victory -- so, not the server).
If it's not that game, I don't know what to tell you. Resigning is a client-side action. It can't be called from the server. The code is open-source, and you can verify this (absolute) behavior for yourself.
Also, just to be sure -- make sure you're not flipping around browser windows or losing focus too much between moves during a game -- all of this is logged and analyzed by the server, and, if you're not paying attention, if your move times are adjusted per your inattention or disconnection, your opponent may be prompted faster due to your latency. (Or, in the instance your opponent notices you disconnect on a regular basis between or after moves, may result in a report from your opponent, in which case the logs are looked at with human eyes, etc...)
Bottom line: The server does not resign you. (Simply doesn't happen.)