Fix Oauth flow for video providers to accomodate AngularJs clients