Fix AJAX load error when not logged in (#59)