[backend] working on auto-login

Signed-off-by: Hank Wang <drapho@gmail.com>