Update acts_as_token_authenticatable.rb

Its added some lines to support mongoid