[native] login password user on native (C++changes)
Summary: Depends on D7706
Test Plan: called this function from JS and confirmed that i could login with a previously registered username and the corresponding password
Reviewers: ashoat
Reviewed By: ashoat
Subscribers: tomek, atul
Differential Revision: https://phab.comm.dev/D7707