Added CSRF protection for login form.