Adjust world and spawn if no valid world is found during player login.

Fixes #958

Removed old setWorld patch from commit

Bukkit/CraftBukkit@33b06875de6f5cff1451c481007b9c42871b1319