some changes

authentication with oauth is redesign. Now oauth requests are provided
by core script.