Fix absolute_http_url_re import with fallback for django 1.5
Fix test failures
Enable use of custom user models for django1.5+