Fixing ugly bug with {{ next }} in login forms