[api] pass server interface to provider

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>