injected basic_auth service as a dependency