Created basic authentication filter and resource annotation.