Allow any button that submits, not just <input>

I have a custom login form that is styled with `<button type="submit">` and it would be nice if I could use that without creating my own copy of `authorize`.