There is no logical reason this would happen. The only thing I can think of is that the live server has a different database so that user isn't registered yet. Really there is no reason it would work on localhost and not work on the live server if you uploaded all of the files.