Pass credentials as well (needed for the ajax workaround)

What actually causes this AttributeError?