Modified version of Angular HTTP Auth Interceptor to work with Django response codes