Fix mongoid + devise integration