fixup location part if auth is enabled for passenger host