Additional tweaks to sample app and oauth to keep things refreshed and work better with instances that have redirects.