TFS / Project Server Connector - Error 401, Unauthorized
Another one of those problems I was banging my head against for days... no reference on the web to the resolution.
Set identity attribute in web.config - for the PSI app - to impersonate false. Solved it for me!