Done with sign in

Refactor integration tests with helper methods