updated tests for authentication manager