Minor update: sample controller fixes and OAuth exception

OAuth updates from Abraham W. repository, errors handling in sample
controller