clean-up authentication