This started happening a few days ago, I did not install any new mods or resource packs at all. I just opened up my launcher and it said Failed to refresh login. Please login again. So I tried to log in and my password was not working. I then changed my password and that worked. Then I tried to join a server and it gave me the error Invalid session try restarting your game and the launcher.
I have restarted my computer 3 times, logged out of the launcher and back in, I've deleted the .minecraft folder completely and reinstalled Minecraft and I still get those errors.
I have also had to change my password again after the 2nd password was not working.
Minecraft is allowed by firewall as well. Can someone please help me?