Add some tests for rawLogin.