Improve patch of Application#authorize