Fix the problem with target redirect address and OpenID, moved to
session.