RUBY-577 support for delegated auth