Fixing a typeo.
Adding an enhanced portal client which throws exceptions on service side
errors and automatically refreshes the session.