webapp cannot create new users without admin access

if webapp is deployed to bitmask.net (wallaby) without admin access to couchdb, you get this when trying to create a user:

Jan  8 21:22:59 wallaby webapp[31574]: Started POST "/1/users.json" for 0.0.0.0 at 2014-01-08 21:22:59 +0000
Jan  8 21:22:59 wallaby webapp[31574]: Processing by V1::UsersController#create as JSON
Jan  8 21:22:59 wallaby webapp[31574]: Parameters: {"user"=>{"login"=>"etest101", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}}
Jan  8 21:22:59 wallaby webapp[31574]: 401 Unauthorized:
Jan  8 21:22:59 wallaby webapp[31574]: /srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48
:in `return!'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:230
:in `process_result'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:178
:in `block in transmit'#012/usr/lib/ruby/1.9.1/net/http.rb:745
:in `start'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:172
:in `transmit'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:64
:in `execute'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:33
:in `execute'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:94
:in `execute'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:74
:in `head'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/server.rb:58
:in `database!'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/connection.rb:38
:in `prepare_database'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/connection.rb:26
:in `database'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/support/inheritable_attributes.rb:48
:in `database'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/connection.rb:26
:in `database'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/designs/view.rb:413
:in `use_database'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/designs/view.rb:418
:in `execute'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/designs/view.rb:61
:in `rows'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/validations/uniqueness.rb:41
:in `validate_each'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.16/lib/active_model/validator.rb:153
:in `block in validate'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.16/lib/active_model/validator.rb:150
:in `each'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.16/lib/active_model/validator.rb:150
:in `validate'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:310
:in `_callback_before_67'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:462
:in `_run__105795966181247507__validate__1474384027206270726__callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405
:in `__run_callback'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385
:in `_run_validate_callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81
:in `run_callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.16/lib/active_model/validations.rb:228
:in `run_validations!'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.16/lib/active_model/validations/callbacks.rb:53
:in `block in run_validations!'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:403
:in `_run__105795966181247507__validation__1474384027206270726__callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405
:in `__run_callback'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385
:in `_run_validation_callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81
:in `run_callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.16/lib/active_model/validations/callbacks.rb:53
:in `run_validations!'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.16/lib/active_model/validations.rb:195
:in `valid?'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/validations.rb:31
:in `valid?'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/persistence.rb:108
:in `perform_validations'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/persistence.rb:10
:in `create'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/couchrest_model-2.0.1/lib/couchrest/model/persistence.rb:133
:in `create'#012/srv/leap/webapp/users/app/models/account.rb:19
:in `create'#012/srv/leap/webapp/users/app/controllers/v1/users_controller.rb:22
:in `create'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/implicit_render.rb:4
:in `send_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:167
:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rendering.rb:10
:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:18
:in `block in process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:447
:in `_run__3190884611501632576__process_action__739483070832976241__callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405
:in `__run_callback'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385
:in `_run_process_action_callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81
:in `run_callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:17
:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rescue.rb:29
:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:30
:in `block in process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123
:in `block in instrument'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20
:in `instrument'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123
:in `instrument'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:29
:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/params_wrapper.rb:207
:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:121
:in `process'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:45
:in `process'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal.rb:203
:in `dispatch'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rack_delegation.rb:14
:in `dispatch'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal.rb:246
:in `block in action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73
:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73
:in `dispatch'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:36
:in `call'#012/srv/l
Jan  8 21:22:59 wallaby webapp[31574]: Completed 500 Internal Server Error in 10.3ms (Views: 0.9ms)

i have re-run leap deploy several times, no changes.

currently, i have deployed with admin access for the webapp so it will work.

(from redmine: created on 2014-01-08, closed on 2014-01-09, relates #4926, relates #4930, relates #4935 (closed))