Use BasicAuthentication in HomepageResource
Add test for login_required with basic auth
Add test for action throttling