feat(shared): extract_cookie macro
feat(client, server, shared): new login/register
feat!(client, shared): move api calls to shared, dep shuffle, and remove connection check stage