Use User.getCurrent() to access current user

Install $http response interceptor to handle 401 errors by redirecting
to `/login`.