Fixed bug where accept type mismtch bypassed authentication filter