okay I've seen that before, that's a case where you're gonna have to go into safe mode, uninstall Avast, reboot, re-install, reboot, you're done.
Don't know why this happens off and on, either explorer breaks or you can't login at all. I've seen that with Comodo too.
This time if you got a license, install AIS directly