Fixed broken unit test for #292 (Password protection for admin frontend and individual (REST API) methods in general)