Fix a typo in auth test
Fix error traversal
Add a checkCurrent auth method