cleanup for LOGIN-EXT: cookie handling, use of i18n etc.