[keyserver] sync platform details on keyserver start
Summary:
if the primary node is able to fetch auth metadata from mariadb when the process starts, we should try syncing the keyserver's platform details.
if the node is unable to fetch auth metadata from mariadb, then the login or registration RPC will handle syncing platform details
Depends on D13666
Test Plan:
- ran yarn dev and my keyserver code version in ddb was updated to 129.
- logged out of keyserver, cleared access token from metadata table, and ran yarn dev again. keyserver logged in to identity and platform details looked right in devices table. syncPlatformDetails function was not called
Reviewers: ashoat, will
Reviewed By: ashoat
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D13667