Why does the command line ask me for username and password again after I already did soamlogon?

Symphony and EGO credentials only last for 8 hours. After 8 hours, Symphony and EGO require the user to log on again.