refactor google auth management
fix broken test
fix broken test
add test for authentication service