Make devise auth via AJAX.