Adds various small fixes to Encrypted local storage