Django middleware and authentication for Mxit apps