Add logging and support for multiple authorization fields