You had browser hijacker, I am not sure if this infection is that severe to steal passwords, but you won’t make a mistake if you change your passwords.