Why does the command line ask me for username and password again after I already ran egosh user logon?

Credentials only lasts 8 hours. After 8 hours, EGO requires the user to log on again.