Make patients.js auto navigate to patientdata when data is uploaded

This change re-introduces fixes to config.js so that you can actually get out of MOCK mode.