To fix Error 400 when signing into Microsoft account, follow these instructions i.e. use a different mehtod to sign in, ...
You can pick a custom keyboard shortcut, and you can decide to simply press that shortcut instead of pressing and holding it.