Based on my own limited testing, it seems like you can remove dots but not add them during login.
So if you created your account as my.name@gmail.com, you can also log into Google with username myname@gmail.com.
But if you created your account as myname@gmail.com, you can't log in with my.name@gmail.com.