Activity E2E test working as user and manager

Added login and logout functions before each test to ensure correct role is being used.
Otherwise, protractor would login as normal user, login as manager user, then perform all the tests as manager user.