Modify web_deploy_spec.rb for application type check.
type optional don't test ap_server connect.