Modified default policy to allow third party APIs

Jira-issue: WP-946
Added jasmine tests about third party APIs

Jira-issue: WP-946
Fixed jasmine tests

Jira-issue: WP-946