fixed login routes on subfolder installs