Core/NetworkIO: Fixed basic auth packets

Remade the PR because the old branch got screwed up by the merge