Add configuration option to select SPA to use based on directory

This adds a new environment option `SPA_NAME` to select which SPA to use based on the directory name. It looks up in the directory for the config file for the login url, and then everything is already managed from there forward.

I'll update the SPA API documentation when this lands.