Permission checks fails with Error: “User not Found”