Restore manifest.appcache
More graceful handling of failed login, small tweak to layout