Make sure api.devices.link returns a key directly, just as accounts.signup. Added tests.