jsonapi: now api/register make auth