[web] handle clearing sensitive data on database module
Summary: Right now in addition to delete indexedDB content we're also deleting virtual file and destructing module.
Test Plan: Test login/logout
Reviewers: michal, tomek
Reviewed By: michal
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D8612