$httpProvider.interceptor added

Re-directs user if server returns 401.