matrix-db: Match device when loading account
It's possible that there are multiple users having the same username but different device id (Eg: the same user have logged in from several devices). So let's match the device too when the account is loaded.