Update yggdrasil.js to fix bug

This fixes a crash that occurs on line 310 of index.js where it tries to read the value of client.session.selectedProfile.id which doesn't exist if the session was acquired by a refresh with old auth details.
Merge pull request #106 from mrfrase3/patch-1

Update yggdrasil.js to fix bug when reloading session