Moved common parts of AuthTest and RegisterTest to a new abstract class AuthTest. Renamed old AuthTest to LoginTest.
fix #4