Okay, we've established that everything on his computer is fine. It's just something is wrong with sending outward connections. There is another way to log in. Go into the game and type in something like "/login <username> <password>" into the chat box. You can do this is single player or multiplayer as a guest. If the syntax isn't correct, tell me and I'll look it up.