Added interim-login handling, added lost password function, remove "next" link in head because this causes firefox to prefetch the page (which is useless on e.g. pages)