Fix UserManagerTest when running on non-main user

Some of the tests are written in a way that assumes that current user is main which has different set of allowed action. This fixes tests that do it and allows test to pass even when run on other secondary users.

Bug: 296045205
Test: atest UserManagerTest
Change-Id: I6362e11fdfb5e369b9dc83021cc368d5cd89982c
1 file changed