Fix absolute_http_url_re import with fallback
Fix test failures
Enable use of custom user models for django1.5+
Handle malformed (e.g. empty, single token) Authorization headers without 500