Create old_password.rb

Support for mongoid