feat(auth): login verbs, typed error codes, and subject fields in the plugin SDK