cleanup authManager
Merge pull request #893 from Singly/cleaner-authManager

cleanup authManager