frontend: Clear current command on authentication error.