Make JWT generation async and fix sandbox auth
Return a Promise from generateJwt and use await in sandbox API
calls; change the JWT subject claim to "sub". Use c.var.did when
creating sandboxes server-side. Update current profile query to set
the profile atom. Adjust sandbox UI owner/permission checks and remove
a debug consola.info log.