Generate secure auth code.