Setting up single sign-on for Portfolio