Your problem is very similar to this one.
To me this happens nearly every time when I try to login to the forum:
- I open the forums page,
- press the login button,
- get redirected to the login page,
- enter (successful) my credentials,
- then the login system fails to redirect me to the forum although the ID-cookie is created.
So I just open the forums page a second time, press login and - without being send to the login page again - I’m logged in.