Add test for self hosted login.