Added implementation for setAuthToken and peekAuthToken methods