update authentication tests from tutorial sources