Access to Digital Accounts After Death

In this digital era, if you die or become incapacitated, it is likely that an executive, fiduciary, personal representative or a family member will want access to your online banking accounts, investment portfolio, social media sites or email.  If you have not entrusted someone with the usernames and passwords to such accounts, how will your bills get taken care of?