Fix browser url recovering for persistent session strategy.
Add static method Session::setSessionStrategy().