diff --git a/src/colab/custom_settings.py b/src/colab/custom_settings.py
index <HASH>..<HASH> 100644
--- a/src/colab/custom_settings.py
+++ b/src/colab/custom_settings.py
@@ -96,6 +96,8 @@ CACHES = {
 DATABASE_ROUTERS = ['colab.routers.TracRouter',]
 
 INSTALLED_APPS = INSTALLED_APPS + (
+    # First app to provide  AUTH_USER_MODEL to others
+    'accounts',
 
     # Not standard apps
     'raven.contrib.django.raven_compat',
@@ -115,7 +117,6 @@ INSTALLED_APPS = INSTALLED_APPS + (
     'api',
     'rss',
     'planet',
-    'accounts',
     'proxy',
     'search',
     'badger',
diff --git a/src/proxy/urls.py b/src/proxy/urls.py
index <HASH>..<HASH> 100644
--- a/src/proxy/urls.py
+++ b/src/proxy/urls.py
@@ -1,7 +1,7 @@
 
 from django.conf.urls import patterns, include, url
 
-from .views import ProxyView, JenkinsProxyView, GitlabProxyView, RedmineProxyView 
+from .views import ProxyView, JenkinsProxyView, GitlabProxyView, RedmineProxyView, TracProxyView 
 
 
 urlpatterns = patterns('',
Fixing import error and APP order

-Import error of ProxyTracView
-Set accounts app as first as it provides the AUTH_USER_MODEL