Fix for roles_required decorator