If your modem is turned off for more than 30 mins, you will need to log in again.
Once you are logged in, your login will last for 12 hours.
So, you can give your computer and modem a 30 min break before you go to sleep, so that once you get them started, the downloads will remain uninterrupted till you wake up again.