added tests to test_handlers/test_authentication