added new sign-in test plus a function in the tests to condense the login code