fleshed out restore and invalidate methods for custom simple auth authenticator