Fix signature of functions decorated with check_auth (for Sphinx doc).