Asi, if the Service is running (and stays running!) that's a good sign. If it runs, then stops, it usually means that the license file isn't being found or is out of date.
When you aren't able to log in and the service is running consistently, you should have something in your event log as to why it won't let you log in.
Check that and see if there's anything related to the avast management service and report back.