Using the Rest Adapter to trigger the login api call

TODO: Use here clientId and secret from gradle properties.