oAuth code cleanup.