Fixed broken login routing for subdirectory installs.