[rcpub] Fixed a bug with updating passwords.