These objects change to Hash object before storing into session.

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.