Fix typo `authorize` -> `authorize!`

Also fix some trailing whitespace and indentation.