[SOLVED] Got 404 error when trying to activate

I have installed Mycroft from Git on my Odroid C2 (arm64 board). I started it with ./mycroft.sh start -d, it loaded its skills and everything and it keeps prompting me to register. I did register, but in the logs I keep seeing this error every few seconds:

requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai                                                                                                                              
requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/activate HTTP/1.1" 404 83                                                                                                          
requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai                                                                                                                              
requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/activate HTTP/1.1" 404 83                                                                                                          
requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai                                                                                                                              
requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/activate HTTP/1.1" 404 83                                                                                           

The device is connected to the internet and I am able to ping and send HTTPS queries ot that URL (from outside the virtualenv):
$ wget -O - https://api.mycroft.ai:443/v1/device/activate --post-data=test
–2017-07-05 13:27:56-- https://api.mycroft.ai/v1/device/activate
Resolving api.mycroft.ai (api.mycroft.ai)… 162.243.58.111
Connecting to api.mycroft.ai (api.mycroft.ai)|162.243.58.111|:443… connected.
HTTP request sent, awaiting response… 401 Unauthorized

Username/Password Authentication Failed.

Why is mycroft receiving a 404 error? How do I troubleshoot that?

It seems I have spoken too soon. I tried to reregister the device with the new code, and once I did that, the 404 error went away.