BUG: fix 2.6 support.
TST: add tests for get_auth.