Fix Error 400 when signing into Microsoft account