Well after much googling it turns out that the problem was that my date and time was wrong and that caused me not to be able to login.