Remove deprecated device property 'secret_key'.
Update currentUser after login/logout.