Cannot connect Steam account with the main client.

I get the "performing login, please wait..." thing but the main client still says "please wait..".

What could be the problem here?