RUBY-577: add_user support for roles and userSource
RUBY-577: support for delegated authentication and logout
RUBY-577: update old tests for delegated auth
RUBY-577: add new tests for delegated auth