Check out all the possible fixes for the Hytale download stuck error at the installation stage in the client here.
To fix Error 400 when signing into Microsoft account, follow these instructions i.e. use a different mehtod to sign in, ...