Added ability to check authentication before validating anti forgery tokens