Fix Boolean logic around authLoginURL
Refresh using id as a key, set refreshAfter to null on logout