Could this be a solution to ddos attacks? Requiring a Satoshi to login would make ddos attacks pretty expensive.
Sadly, no. You can still initiate a request to login, and not complete it, to consume server resources. Repeat as fast as needed to consume all resources on the server.
If done for a very short time, or for a limited number of requests, then yes. But it would also complicate the system and you'd have to pay and store data in the blockchain.