fix users_spec.rb functional test