Add login REST API.

Signed-off-by: Maël Lavault <mael.lavault@mailz.org>