Not sure if its too late but I had the same problem but I fixed it just recently. For me the problem was that my date and time on my PS4 was not accurate. So i just went to settings, fixed it and I was able to log in

Hopefully this is the same for you and you didn't do that whole resetting PS4 thing just yet...

Anyways hope this helps