Fixed login problems for a default install, disabled tidy urls by default