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`.
Merge pull request #19 from gaqzi/patch-1

Allow any button with type=submits, not just <input> element