Fixed ext storage unit test for groups

Now creating real users and groups for testing external storage mounts
Fixed ext storage password field order issue

The old password field is now preserved in the JSON structure to make
sure that the order is preserved.
This is a quick fix until the UI is fixed to not rely on the PHP array
key order.