Authentication cleanup