Building Api\SessionsController.
Test.