Supports automatic client login.