Small auth code fix