Fixed bug in looped-auth-request