Use OAuth2 instead of basic auth

Change-Id: Ia72333d2fa705834664dab5ca134f7cbe89e2960
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Controls import is needed for the stack attached prop

Change-Id: I539eca9a17b5b7de452897e66849c2c51be2039e
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>