AJAX auth API over Django REST Framework.