Fix absolute_http_url_re import with fallback
Fix test failures
Enable use of custom user models for django1.5+
call get_user_model in try block for better backwards compatibility