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>