auth: Add tests for new deprecation logging and object arguments