added test activity for testing oauth. refactored oauth logic
added logic to render authorisation page using a browser