Update grant_logon spec and code.