Revert "Login form does not work. Dont go into success on post request"

This reverts commit 8b61d912289cf31dee4afb4e3cbd22aaa0d4df3a.