Fixed bug in auth middleware white list.