Creates ugly authentication filter