Don't import compat.py from authtoken.models.  Closes #1297