Bug: API Request: TypeError: Cannot read properties of undefined (reading 'deviceList')
### Describe The Bug

Device list is empty although configured

### To Reproduce

install plugin v2.1.0, configure your devices

### Expected behavior

devices should show and be exposed to homekit

### Relevant log output

```shell
[14/10/2022, 13:02:26] [SwitchBot] Initializing SwitchBot platform...
[14/10/2022, 13:02:26] [SwitchBot] [DEBUG] Using Config Logging: debug
[14/10/2022, 13:02:26] [SwitchBot] [DEBUG] Finished initializing platform:
[14/10/2022, 13:02:26] [SwitchBot] Platform Config: {"logging":"debug"}
[14/10/2022, 13:02:26] [SwitchBot] The devices config section is missing the *Device ID* in the config. Please check your config.
[14/10/2022, 13:02:26] [SwitchBot] The devices config section is missing the *Device Type* in the config. Please check your config.
[14/10/2022, 13:02:26] [SwitchBot] [DEBUG] Using Default Refresh Rate (2 minutes).
[14/10/2022, 13:02:26] [SwitchBot] [DEBUG] Using Default Push Rate.
[14/10/2022, 13:02:26] [SwitchBot] [DEBUG] Config OK
[14/10/2022, 13:02:26] [SwitchBot] [DEBUG] Executed didFinishLaunching callback
[14/10/2022, 13:02:26] [SwitchBot] [DEBUG] x9TVXSaYbPS3GI1/e3AVBdgFy5jgigI4REveOTLcgww=

[14/10/2022, 13:02:56] [SwitchBot] [DEBUG] statusCode: 401
[14/10/2022, 13:02:56] [SwitchBot] [DEBUG] headers: {"date":"Fri, 14 Oct 2022 10:02:56 GMT","content-type":"application/json","content-length":"26","connection":"close","x-amzn-requestid":"80b51f69-ace4-4d1e-abc0-837b3c2a21d6","x-amzn-errortype":"UnauthorizedException","x-amz-apigw-id":"Z_UIoFV7IAMF72g="}
[14/10/2022, 13:02:56] [SwitchBot] [DEBUG] d: {"message":"Unauthorized"}
[14/10/2022, 13:02:56] [SwitchBot] [DEBUG] devicesAPI: [Undefined]
[14/10/2022, 13:02:56] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'deviceList'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug
```


### Config for homebridge-switchbot

```shell
{
            "name": "SwitchBot",
            "credentials": {
                "token": "XXX",
                "secret": "XXX",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "XXX",
                        "configDeviceName": "Curtain Right",
                        "configDeviceType": "Curtain",
                        "connectionType": "BLE/OpenAPI"
                    },
                    {
                        "deviceId": "XXX",
                        "configDeviceName": "Bathroom",
                        "configDeviceType": "Bot",
                        "connectionType": "BLE/OpenAPI"
                    }
                ],
                "irdevices": [
                    {
                        "logging": "standard"
                    }
                ],
                "logging": "debug"
            },
            "platform": "SwitchBot"
        },
```


### Screenshots

![image](https://user-images.githubusercontent.com/47157828/195821279-1e0fb818-b618-4062-864b-0cb54a1550a0.png)
![image](https://user-images.githubusercontent.com/47157828/195821405-0e5f9b41-4739-48ec-be70-fa30495823f4.png)


### Device & Model

Raspberry Pi Zero WH

### Node.js Version

v16.18.0

### NPM Version

v8.19.2

### Homebridge Version

v1.5.0

### Homebridge Switchbot Plugin Version

v2.1.0

### Homebridge Config UI X Plugin Version

v4.50.1

### Operating System

Raspbian