Fix amo tests following django-browserid update (bug 847956)