Fix user import doctest

This was broken as Adhocracy doesn't return a 401 unauthorized response,
but is automatically redirected to the login page. The test now checks
for the latter.