Fix two block related memory issues in BITAuthenticator