added support for accounts URL base as a config setting