Added check for authentication with minecraft.net