Adds tests for login.