logout
Logs out the current user.
If an authorization token is present, it sends a logout request to the Umami API and removes both the authorization and API key headers.
If no authorization token is present (e.g., when using an API key for Umami Cloud), it only removes the API key header without calling the logout endpoint.