Specify server during login. Some cleanup