Revert "restore login."

This reverts commit adc9c4cb81d992d5dc38462076fc642478d7767d.
update cache settings.
fix authentication.
fix stylesheet reference.