changed https://github.com/floatingcastles/sorcery/blob/master/lib/sorcery/model/adapters/mongoid.rb#L12 to new mongoid 4 implementation