Fix a bug preventing user password for being changed (OMS-546)