Authentication
Get a token and manage your password.
Log in and get a token
Exchanges a username (`username`) and password for a JWT access token, returned in `token`. Then send this token in the `Authorization: Bearer <token>` header of every request.
Update the password
Changes the password of the authenticated account, after checking the current password (`currentPassword`). Returns no content on success.