Adds headers for form authentication