Feature/tests rev1

Protractor tests for providers.
Minor bug fix for creating providers.
there is no beforeAll like with mocha so this is a way to login once before running tests