* Enable auth by default * Only default legacy_api_password if api_password set * Tweak bool check * typing