Fixed infinite login loop. I was dumb.