Changed sign-in JS from using XMLHttpRequest to JQuery's $.ajax.