So I have been hustling with this for hours now. But I still can't login to confluence.
I bumped into this problem for a month ago and the documentation worked fine then, but now. I can't login.
I have followed every step in this manual,
https://confluence.atlassian.com/conf51/restoring-passwords-to-recover-admin-user-rights-336169506.html
A new admin is created and active ( T )
A new group is running
and a membership is connected to my admin user (id 1212121)
My internal directory is set to index 0 and its active ( T )
Have i missed something? or is it another problem?
I have done this at least 10 times. and every time it doesn't work I delete everything I created and start over.
Any tips on whats wrong? 
Im using confluence 5.1
thanks