Added config for oauth call back url. This is required because callback url is created from app server which could be on http
Refactored how konfig is used