The session serializer of Rails4.1 is json.
OpenId::OpenIDServiceEndpoint and OpenID::Consumer::DiscoveredServices
objects are lost when these store into the session.

These objects change to Hash object before storing into session.
forgot to_session_value
Merge pull request #79 from tsukasaoishi/json_session

Objects change to Hash object before storing into session.