Fix regression: Cannot create case with ordinary user.
Updated unit test to create a case as an ordinary user in the user's home folder.