Creates and sends an authentication token.
POST /competitions/{id}/auth| name | type | required | requirements |
|---|---|---|---|
| username | string | yes | none |
| password | string | yes | none |
| code | description | content |
|---|---|---|
| 200 | return token and set token cookie | {"token": <token>} |
| 401 | authentication failed | none |