Make oauth path configurable

Currently value 'oauth' is hardcoded.