api: Set *and save* password on registration.

Closes Kegbot/kegbot-android#34.