Error Code 1365: The logon session is not in a state that is consistent with the requested operation. [ERROR_BAD_LOGON_SESSION_STATE (0x555)]