rest-api: Fix bad copy/paste

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
rest-api: Clarify password behavior

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Merge pull request #92 from stgraber/master

REST API update