Added missing flip in ErrorMessage packet, Added null session checks before attempting to login players

This commit should also fix the never-ending "Connecting to Galaxy..."
loop. It should also be noted that for some reason any ErrorMessage
packet sent before a player is logged in always says that the "Login
Server is unavailable at this time".