Fixed my problem. Sometimes my security software (I use Norton) doesn't start when I start my computer, and I can't login to Steam or League of Legends either. Quitting the game and manually starting Norton software did the trick and I can login again.