Fix the default pcapi url and including it as an option of the PCAPI object