Fixes author update sanitization.

Fixes tests for Authorization.