This doesn't seem to be working for users who are remotely authenticated. When i add local users the portal works fine, when i try it with users authenticated remotely a pop-up window appears saying "Unknown Error". The authentication logs show that the user was authenticated correctely.