Fixed all tests also for Django 1.3
Fixed dynamic auth
Added test for dynamic auth