Merge branch 'stable-2.16'

* stable-2.16:
  AccountsImpl: Fix exception message if account cannot be parsed
  Fix setting groups visibility

Change-Id: I2ab79b3275f42adc9dd0514295a582b8c3a24643