KeyError: 'socialaccount_state' (closes #305)