Fixes data type bug in get-user call

Additionally, fixes a bug in the fake guestagent causing
grant permissions to persist after a user is deleted.

Partially addresses bug #1132975

Change-Id: I2b6951d1569224661747b3a889c8840ce2b205fa
Merge "Fixes data type bug in get-user call"