add method='post' to JS injected login form