Fix order of EXCLUDE_PORTS and EXCLUDE_BASIC_AUTH.