Revert broken commit

 "The redirect URL is too long.  Switching back to cookies on the portal side."

This reverts commit 68ef1a37449074eedf161729df0b4e4e085e0496.