Make login work, also when deployed with web.xml!