Logs user into the system

GET

Query parameters

usernamestringOptional

The username for login

passwordstringOptional

The password for login

Response

Successful login

tokenstringOptional

Authentication token

expiresInintegerOptional

Token expiration time in seconds