Fix seeing worker details when authentication is enabled

This issue happens because the request is made without any credentials, so the API endpoint returns an unauthorized response. By using the controller directly, an HTTP round trip is avoided as well.