[0.3.1 => 0.4.0-dev] Added Yggdrasil authentication.

Fixes #1.