Added test REST API for authenticated user.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>