Modified the function "with_disabled" inside the users/spaces model to get all objects (even disabled). Replaced "be_an_instance_of" to "be_kind_of" inside some tests to fix the errors after migration.

refs #1088