[lib] Fix an invalid condition
Summary:
We should check the accessToken instead of checking userID twice.
Depends on D12749
Test Plan: Flow
Reviewers: kamil, marcin
Reviewed By: kamil
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D12775